/*
 * @Descripttion: 
 * @Author: zhanyi
 * @Date: 2021-10-26 21:00:27
 * @FilePath: \wczd-mobile\src\store\modules\danger.js
 */

const danger = {
  state: {
    nowDangerType: { name: '由我发现', value: '由我发现' },
  },

  mutations: {
    SET_NOW_DANGER_TYPE: (state, data) => {
      state.nowDangerType = data
    },
  },

  actions: {
    changeNowDangerType ({ commit }, data) {
      commit('SET_NOW_DANGER_TYPE', data)
    }
  }
}

export default danger
